<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model backend\models\StudentStatus */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="student-status-form">

    <?php $form = ActiveForm::begin(); ?>

    <?= $form->field($model, 'XJBH')->textInput(['maxlength' => true]) ?>

    <?php //echo $form->field($model, 'GRID')->textInput(['maxlength' => true]) ?>
    <?= $form->field($model->gR, 'name')->textInput(['maxlength' => true]) ?>
    <?= $form->field($model->gR, 'sex')->textInput(['maxlength' => true]) ?>
    <?= $form->field($model->gR, 'id_number')->textInput(['maxlength' => true]) ?>

    <?php //echo $form->field($model, 'XSID')->textInput(['maxlength' => true]) ?>
    <?= $form->field($model->xS->xX, 'ZWMC')->textInput(['maxlength' => true])->label('学校') ?>
    <?= $form->field($model->xS, 'XH')->textInput(['maxlength' => true]) ?>
    <?= $form->field($model->xS->bJ->zY, 'ZYMC')->textInput(['maxlength' => true]) ?>
    <?= $form->field($model->xS->bJ, 'BJBH')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'XJZT')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'DJSJ')->textInput() ?>
            
    <div class="form-group">
        <?= Html::submitButton('保存', ['class' => 'btn btn-success']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
